<template>
  <div class="recommend-info">
    <div class="info-header">热门推荐</div>
    <grid-view>
      <goods-list-item :goods="getRecommend.list"></goods-list-item>
    </grid-view>
  </div>
</template>

<script>
  import GridView from "components/common/gridview/GridView";
  import GoodsListItem from "components/content/goods/GoodsListItem";

  export default {
    name: "DetailRecommendInfo",
    components: {
      GridView,
      GoodsListItem
    },
    props: {
      getRecommend:{
        type: Object,
        default(){
          return {};
        }
      }
    }
  }
</script>

<style scoped>
  .recommend-info{
    margin-top: 10px;
    background-color: white;
  }
  .info-header{
    font-size: 15px;
    color: #333333;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
  }
</style>
